package cn.edu.gzccc.movie.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/hello")
public class HelloController
{
    @RequestMapping(value = "/say")
    public String say(Model model){
        model.addAttribute("greet","Hello Thymeleaf!");
        return "hello/say";
    }
}
